package combine.order.model;

import java.util.List;

public class PurchaseOrder {
    
	private long purchaseOrderId;
	
	private boolean isStorage;
	
	private long purchaseOrderCreateTime;
	
	private String purchaseOrderCreator;
	
	private List<PurchaseOrderItem> items;
	
	public PurchaseOrder(long purchaseOrderId, boolean isStorage,
			long purchaseOrderCreateTime, String purchaseOrderCreator,
			List<PurchaseOrderItem> items) {
		super();
		this.purchaseOrderId = purchaseOrderId;
		this.isStorage = isStorage;
		this.purchaseOrderCreateTime = purchaseOrderCreateTime;
		this.purchaseOrderCreator = purchaseOrderCreator;
		this.items = items;
	}

	public long getPurchaseOrderId() {
		return purchaseOrderId;
	}

	public void setPurchaseOrderId(long purchaseOrderId) {
		this.purchaseOrderId = purchaseOrderId;
	}

	public boolean getIsStorage() {
		return isStorage;
	}

	public void setIsStorage(boolean isStorage) {
		this.isStorage = isStorage;
	}

	public long getPurchaseOrderCreateTime() {
		return purchaseOrderCreateTime;
	}

	public void setPurchaseOrderCreateTime(long purchaseOrderCreateTime) {
		this.purchaseOrderCreateTime = purchaseOrderCreateTime;
	}

	public String getPurchaseOrderCreator() {
		return purchaseOrderCreator;
	}

	public void setPurchaseOrderCreator(String purchaseOrderCreator) {
		this.purchaseOrderCreator = purchaseOrderCreator;
	}

	public List<PurchaseOrderItem> getItems() {
		return items;
	}

	public void setItems(List<PurchaseOrderItem> items) {
		this.items = items;
	}
}
